package com.exception;

public class Test1 {
    public static void main(String[] args) {
        int a = 1;
        int b = 2;


        try {
            // mac 生成try代码块快捷键。直接选中代码块 选择包围即可ß
            System.out.println(a / b);
        } catch (Exception e) {
            System.out.println("Exception:"+e);
            throw new RuntimeException(e);
        } finally {
            System.out.println("finally");
        }


    }
}
